//**********************************************************************************
//  PP2_3.java         Author:Tang Caiming
//
//  Read two floating point Numbers and output their sum, difference, and product.
//**********************************************************************************

import java.util.Scanner;

public class PP2_3
{
   public static void main(String[] args)
   {
      Scanner scan = new Scanner(System.in);

      System.out.println("输入第一个数:");
      double first = scan.nextDouble();

      System.out.println("输入第二个数:");
      double second = scan.nextDouble();

      System.out.println("和:" + (first+second));
      
      System.out.println("差:" + (first-second));
     
      System.out.println("积:" + (first * second));
   }
}
